<?php

/**
 * Description of main
 *
 * @author Dung.Hoang
 * @since 17-10-2014 - 00:04:56
 * @email dung.hoang@voithan.com
 * @skype phuongdungjx.pz0.
 */
$lang = isset($_GET['lang']) ? $_GET['lang'] : 'vi';

return array(
    'components' => array(
        'errorHandler' => array(
            // use 'site/error' action to display errors
            'errorAction' => 'webmaster/default/error',
        ),
        'user'         => array(
            'allowAutoLogin' => true,
            // this is actually the default value
            'loginUrl'       => array("webmaster/default/login/lang/$lang"),
        ),
    ),
    // application-level parameters that can be accessed
    // using Yii::app()->params['paramName']
    'params'     => require(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'params.php'),
);



/**
 * End of main
 */